package com.neo.rabbitmq.utils;

/**
 * @ClassName: SleepUtil
 * @Title: rabbitmq-demo
 * @Package: com.neo.rabbitmq.utils
 * @Description: 睡眠工具类
 * @Author: Kisen
 * @Date: 2021/9/5 23:51
 */
public class SleepUtil {

    public static void sleep(int second) {
        try {
            Thread.sleep(1000 * second);
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
        }
    }
}
